package com.study.service.impl;

import com.study.entity.ApplyType;
import com.study.mapper.ApplyTypeMapper;
import com.study.service.ApplyTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lxl
 * @version 2022-06-21 19:36
 */

@Service
public class ApplyTypeServiceImpl implements ApplyTypeService {
    
    @Autowired
    private ApplyTypeMapper applyTypeMapper;
    
    @Override
    public int deleteByPrimaryKey(Long applyTypeId) {
        return applyTypeMapper.deleteByPrimaryKey(applyTypeId);
    }

    @Override
    public int insert(ApplyType row) {
        return applyTypeMapper.insert(row);
    }

    @Override
    public int insertSelective(ApplyType row) {
        return 0;
    }

    @Override
    public ApplyType selectByPrimaryKey(Long applyTypeId) {
        return applyTypeMapper.selectByPrimaryKey(applyTypeId);
    }

    @Override
    public int updateByPrimaryKeySelective(ApplyType row) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(ApplyType row) {
        return applyTypeMapper.updateByPrimaryKey(row);
    }

    @Override
    public List<ApplyType> selects(ApplyType applyType) {
        return applyTypeMapper.selects(applyType);
    }

}
